<!doctype html>
<html>
<head>
    <link href="__HCSS__indexx.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="__HJS__index.js"></script>
    <script type="text/javascript" src="__HJS__responsiveslides.min.js"></script>
    {include file="common_header_include"}
</head>
<body>
{include file="common_header"}
<div class="content_bg c">
    <div class="content_lxwmbg c">
        <div class="content_lxwm">
            <video src="__HIMG__bg.mov" loop autoplay></video>
            <div class="zhezhao">
            </div>
        </div>
        <div class="lxwm_ctbg">
            <div class="lxwm_ct">
                <div class="lxwm_ct_left">
                    <i class="yws">Contact us</i>
                    <strong class="lx_dh">029-89322522</strong>
                    <i class="xian"></i>
                    <dl class="dizhi">
                        <dt>地址</dt>
                        <dd>
                            <p>上海市奉贤区沪杭公路1588号2幢-1569</p>
                        </dd>
                    </dl>
                    <dl class="lianxi">
                        <dt>联系方式</dt>
                        <dd>
                            <p>电话：029-89322522</p>
                            <p>手机：186-2937-0117  尹经理</p>
                        </dd>
                    </dl>
                    <dl class="kefu">
                        <dt>在线客服</dt>
                        <dd>
                            <a target="blank" href="tencent://message/?uin=759891288&amp;Site=&amp;Menu=yes">售前</a>
                            <a target="blank" href="tencent://message/?uin=759891288&amp;Site=&amp;Menu=yes">售后</a>
                        </dd>
                    </dl>
                </div>
                <div class="lxwm_ct_right">
                    <div class="shang c">
                        <h4>专注软件定制开发</h4>
                        <span>为每一位客户送上超越价值的服务</span>
                    </div>
                    <div class="un">
                        <div class="un_box">
                            <form method="post" id="forms" enctype="multipart/form-data">
                                <dl>
                                    <dd class=""><input type="tex" name="username" placeholder="姓名" /></dd>
                                    <dd class=""><input type="tex" name="userphone" placeholder="联系电话"/></dd>
                                    <dd><span class="nr"></span><textarea  name="content"  placeholder="需求信息"></textarea></dd>
                                </dl>
                                <input type="button" class="submit" id="submits" value="提交留言"/>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="common_footer"}
<script type="text/javascript">
    $("#submits").click(function(){
        $url="{:url('Index/addmessage')}";
        layer.confirm('确认提交吗？', {
            btn: ['确认','放弃'] //按钮
        }, function(){
            $.ajax({
                url:$url,
                data:$("#forms").serialize(),
                type:"Post",
                dataType:"json",
                success:function (data) {
                    if(data.status==1){
                        layer.msg(data.msg,{icon:6,time: 1000},function(){
                            location.reload();
                        });
                    }else{
                        layer.msg(data.msg,{time: 1000});
                    }
                }
            })
        });
        //墨绿深蓝风

    });

</script>
</body>
</html>